package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 房屋所属人中间对象 tmc_house_user
 *
 * @author ruoyi
 * @date 2021-05-17
 */
public class TmcHouseUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 房屋外键 */
    @Excel(name = "房屋外键")
    private Long houseId;

    /** 户主姓名 */
    @Excel(name = "户主姓名")
    private String ownerName;

    /** 户主电话 */
    @Excel(name = "户主电话")
    private String ownerPhone;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setHouseId(Long houseId)
    {
        this.houseId = houseId;
    }

    public Long getHouseId()
    {
        return houseId;
    }
    public void setOwnerName(String ownerName)
    {
        this.ownerName = ownerName;
    }

    public String getOwnerName()
    {
        return ownerName;
    }
    public void setOwnerPhone(String ownerPhone)
    {
        this.ownerPhone = ownerPhone;
    }

    public String getOwnerPhone()
    {
        return ownerPhone;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("houseId", getHouseId())
                .append("ownerName", getOwnerName())
                .append("ownerPhone", getOwnerPhone())
                .toString();
    }
}